import Home from '../view/home/home.js'
import Classify from '../view/classify/classify.js'
import Car from '../view/car/car.js'
import My from '../view/my/my.js'

 const routerList = [
    {
        name:"首页",
        path:'/',
        render(){
            return <Home/>
        }
    },
    {
        name:'分类',
        path:'/classify',
        render(){
            return <Classify/>
        }
    },
    {
        name:'购物车',
        path:'/car',
        render(){
            return <Car/>
        }
    },
    {
        name:'我的',
        path:'/my',
        render(){
            return <My/>
        }
    }
]
export default routerList;